package com.hansming.bss.modules.sfc.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hansming.bss.common.service.CrudService;
import com.hansming.bss.modules.sfc.dao.CustomerMessageDao;
import com.hansming.bss.modules.sfc.entity.Customer;
import com.hansming.bss.modules.sfc.entity.CustomerMessage;

/**
 * 用户消息Service
 * @author Hansming
 * @version 2017-10-23
 */
@Service
@Transactional(readOnly = true)
public class CustomerMessageService extends CrudService<CustomerMessageDao,CustomerMessage>{

	@Autowired
	private CustomerMessageDao customerMessageDao;
	
	//跟用户查找到对应的信息
	public List<CustomerMessage>  getCusMsgByCus(String cid,String type){
		return customerMessageDao.getCusMsgByCus(cid,type);
	}
	
	
}
